{include 'admin/layout/header_list'}
<link rel="stylesheet" href="__ADMIN_STATIC__/css/plugin.css?random={extendSetting('random')}">
<div class="ltcms_container">
    <div class="container_title">
        <form action="{LTCMS_ROUTE_PREFIX}/log_operation" method="get" class="ltcms_search">
            <input name="action" type="text" placeholder="请输入动作" {if isset($request['action'])} value="{$request['action']}" {/if}  >
            <input name="author" type="text" placeholder="请输入操作人员" {if isset($request['author'])} value="{$request['author']}" {/if}  >
            <button type="submit" class="btn3">搜索</button>
        </form>
    </div>
    <section class="ltcms_content">
        <div class="ltcms_list">
            <table class="list_table">
                <colgroup>
                    <col width="40px" >
                    <col width="160px" >
                    <col width="200px" >
                    <col width="350px" >
                    <col width="180px" >
                    <col >
                </colgroup>
                <tr class="tr1" >
                    <td class="th"><input id="selectAll" type="checkbox"></td>
                    <td class="th">操作人</td>
                    <td class="th">动作</td>
                    <td class="th">内容</td>
                    <td class="th">时间</td>
                    <td class="th">操作</td>
                </tr>
                {if $listData}
                {foreach  $listData["data"] $key $val}
                <tr class="tr">
                    <td><input class="checkbox" name="check_id" type="checkbox" value="{$val['id']}"></td>
                    <td>{$val['author']}</td>
                    <td>{$val['action']}</td>
                    <td>{$val['content']}</td>
                    <td>{date("Y-m-d H:i:s",$val['create_time'])}</td>
                    <td>
                        <div class="btn4">
                            <i onClick="runApi(this)" title="删除" data-close="4" data-submit-url="{LTCMS_ROUTE_PREFIX}/log_operation?id={$val['id']}" data-method="delete" alt="" class="btn4-img del iconfont icon-delete"></i>
                        </div>
                    </td>
                </tr>
                {/foreach}
                {/if}
            </table>
        </div>
    </section>
    <div class="list-bottom">
        <div class="bottom-left">
            <button class="btn2 del1" onclick="dataMoreDel(this)" data-close="3" data-submit-url="{LTCMS_ROUTE_PREFIX}/log_operation" data-method="delete" >批量删除</button>
        </div>
        <div class="pages">
            {if $listData}
            {php  echo app("P_page")->getPageBarV2($listData);}
            {/if}
        </div>
    </div>
</div>
<script src="__ADMIN_STATIC__/js/list.js?random={extendSetting('random')}"></script>
{include 'admin/layout/footer'}